package net.sea.study.password.impl;

import cn.hutool.core.util.StrUtil;
import net.sea.study.password.AbstractRule;

/**
 * 非空验证
 */
public class NotBlankRule extends AbstractRule {
    @Override
    public boolean doValidate(String password) {
        return StrUtil.isNotBlank(password);
    }
}
